#! /bin/bash 
sleep 5s  
gnome-terminal -x bash -c  "source ${HOME}/mavros_ws/devel/setup.bash;roslaunch mavros px4.launch ;exec bash"   
sleep 5s  
gnome-terminal -x bash -c  "source ${HOME}/mavros_ws/devel/setup.bash;roslaunch livox_ros_driver livox_lidar.launch ;exec bash"  
sleep 5s  
gnome-terminal -x bash -c  "source ${HOME}/mavros_ws/devel/setup.bash;roslaunch ground_location rviz.launch ;exec bash"  
sleep 2s  
gnome-terminal -x bash -c  "source ${HOME}/mavros_ws/devel/setup.bash;cd $HOME/rosbag_file;rosbag record /livox/lidar /mavros/imu/data ;exec bash" 
wait  
exit 0  
